package com.gpframework.module.ctn.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gpframework.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @ClassName GpCtnLoadedVo
 * @Author gpframework
 * @Date 2024-01-08
 * @Version 1.0.0
 * @Description 装柜信息填写装柜录入Vo对象
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
public class GpCtnLoadedExcel {
    private static final long serialVersionUID = 1L;

    /** 进仓单号 */
    @Excel(name = "进仓单号")
    @ApiModelProperty("进仓单号")
    private String receiptNo;

    /** 货柜序货柜序号 */
    @Excel(name = "货柜序货柜序号")
    @ApiModelProperty("货柜序货柜序号")
    private String agentCtnNo;

    /** 数量 */
    @Excel(name = "数量")
    @ApiModelProperty("数量")
    private String number;

    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty("备注")
    private String remarks;


    /** 货柜到市场发送短信时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("货柜到市场发送短信时间")
    private Date smsToMarketDate;


    /**
     * 下标
     */
    @ApiModelProperty("下标")
    private int subscript;

    /**
     * 导入提示
     */
    @ApiModelProperty("导入提示")
    private String msg;

    public static List<GpCtnLoadedExcel> list() {
        List<GpCtnLoadedExcel> list = new ArrayList<>();
        list.add(new GpCtnLoadedExcel());
        return list;
    }
}
